#!/bin/bash
#test to see if we have had all the files

DIR="/DATA/NewEncFiles/"
n=100
for (( i=0; i<100; i++ ))
do
	file=$DIR"enc_file_"$i
	f=$file"_1"
	if [ -f $f ]
	then
		com="ls "$file"_* | wc -l"
		n=`eval $com`
		echo $i ": "$n
	else
		echo $i ": "0
	fi
done
